home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / exampleCode / opengl / GLUT / progs / demos / atlantis / Makefile.sgi < prev    next >
Makefile  |  1996-11-11  |  675b  |  36 lines

  1. #! smake
  2.  
  3. #
  4. # $Revision: 1.1 $
  5. # $Date: 1996/02/28 03:22:21 $
  6. #
  7. include $(ROOT)/usr/include/make/commondefs
  8.  
  9. TOP = ../../..
  10.  
  11. LN = ln -s
  12. MV = mv
  13. RM = -rm -rf
  14.  
  15. TARGETS = atlantis
  16.  
  17. GLUT = $(TOP)/lib/glut/libglut.a
  18. LLDLIBS = $(GLUT) -lGLU -lGL -lXmu -lXi -lXext -lX11 -lm
  19.  
  20. SRCS =    swim.c atlantis.c whale.c dolphin.c shark.c
  21. HDRS =    atlantis.h
  22. OBJS =    $(SRCS:.c=.o)
  23.  
  24. LCOPTS = -fullwarn -wlint,-f -woff 813,852,827,826,819 -I$(TOP)
  25. LDIRT = *~ mjkimage.c *.bak *.pure
  26.  
  27. default : $(TARGETS)
  28.  
  29. atlantis : atlantis.o whale.o dolphin.o shark.o swim.o
  30.     $(RM) $@
  31.     $(CC) -o $@ $(CFLAGS) atlantis.o whale.o dolphin.o shark.o swim.o $(LDLIBS)
  32.  
  33. ./atlantis.h : atlantis.h
  34.  
  35. include $(COMMONRULES)
  36.